minus(x, y) → cond(min(x, y), x, y)
cond(y, x, y) → s(minus(x, s(y)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
↳ QTRS
↳ Overlay + Local Confluence
minus(x, y) → cond(min(x, y), x, y)
cond(y, x, y) → s(minus(x, s(y)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
minus(x, y) → cond(min(x, y), x, y)
cond(y, x, y) → s(minus(x, s(y)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
MINUS(x, y) → MIN(x, y)
MIN(s(u), s(v)) → MIN(u, v)
COND(y, x, y) → MINUS(x, s(y))
MINUS(x, y) → COND(min(x, y), x, y)
minus(x, y) → cond(min(x, y), x, y)
cond(y, x, y) → s(minus(x, s(y)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MINUS(x, y) → MIN(x, y)
MIN(s(u), s(v)) → MIN(u, v)
COND(y, x, y) → MINUS(x, s(y))
MINUS(x, y) → COND(min(x, y), x, y)
minus(x, y) → cond(min(x, y), x, y)
cond(y, x, y) → s(minus(x, s(y)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
MIN(s(u), s(v)) → MIN(u, v)
minus(x, y) → cond(min(x, y), x, y)
cond(y, x, y) → s(minus(x, s(y)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
MIN(s(u), s(v)) → MIN(u, v)
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
MIN(s(u), s(v)) → MIN(u, v)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ UsableRulesProof
COND(y, x, y) → MINUS(x, s(y))
MINUS(x, y) → COND(min(x, y), x, y)
minus(x, y) → cond(min(x, y), x, y)
cond(y, x, y) → s(minus(x, s(y)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ UsableRulesProof
COND(y, x, y) → MINUS(x, s(y))
MINUS(x, y) → COND(min(x, y), x, y)
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
minus(x0, x1)
cond(x0, x1, x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ UsableRulesProof
COND(y, x, y) → MINUS(x, s(y))
MINUS(x, y) → COND(min(x, y), x, y)
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
MINUS(s(x0), s(x1)) → COND(s(min(x0, x1)), s(x0), s(x1))
MINUS(x0, 0) → COND(0, x0, 0)
MINUS(0, x0) → COND(0, 0, x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ UsableRulesProof
MINUS(0, x0) → COND(0, 0, x0)
MINUS(x0, 0) → COND(0, x0, 0)
COND(y, x, y) → MINUS(x, s(y))
MINUS(s(x0), s(x1)) → COND(s(min(x0, x1)), s(x0), s(x1))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ UsableRulesProof
MINUS(0, x0) → COND(0, 0, x0)
COND(y, x, y) → MINUS(x, s(y))
MINUS(s(x0), s(x1)) → COND(s(min(x0, x1)), s(x0), s(x1))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
COND(0, 0, 0) → MINUS(0, s(0))
COND(s(y_0), s(z0), s(y_0)) → MINUS(s(z0), s(s(y_0)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ UsableRulesProof
COND(0, 0, 0) → MINUS(0, s(0))
MINUS(0, x0) → COND(0, 0, x0)
COND(s(y_0), s(z0), s(y_0)) → MINUS(s(z0), s(s(y_0)))
MINUS(s(x0), s(x1)) → COND(s(min(x0, x1)), s(x0), s(x1))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ UsableRulesProof
COND(0, 0, 0) → MINUS(0, s(0))
MINUS(0, x0) → COND(0, 0, x0)
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesProof
COND(0, 0, 0) → MINUS(0, s(0))
MINUS(0, x0) → COND(0, 0, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ UsableRulesProof
COND(0, 0, 0) → MINUS(0, s(0))
MINUS(0, x0) → COND(0, 0, x0)
MINUS(0, s(0)) → COND(0, 0, s(0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
COND(0, 0, 0) → MINUS(0, s(0))
MINUS(0, s(0)) → COND(0, 0, s(0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ UsableRulesProof
COND(s(y_0), s(z0), s(y_0)) → MINUS(s(z0), s(s(y_0)))
MINUS(s(x0), s(x1)) → COND(s(min(x0, x1)), s(x0), s(x1))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
MINUS(s(z1), s(s(z0))) → COND(s(min(z1, s(z0))), s(z1), s(s(z0)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ UsableRulesProof
MINUS(s(z1), s(s(z0))) → COND(s(min(z1, s(z0))), s(z1), s(s(z0)))
COND(s(y_0), s(z0), s(y_0)) → MINUS(s(z0), s(s(y_0)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
COND(s(s(z1)), s(z0), s(s(z1))) → MINUS(s(z0), s(s(s(z1))))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ UsableRulesProof
COND(s(s(z1)), s(z0), s(s(z1))) → MINUS(s(z0), s(s(s(z1))))
MINUS(s(z1), s(s(z0))) → COND(s(min(z1, s(z0))), s(z1), s(s(z0)))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
MINUS(s(z1), s(s(s(z0)))) → COND(s(min(z1, s(s(z0)))), s(z1), s(s(s(z0))))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ UsableRulesProof
MINUS(s(z1), s(s(s(z0)))) → COND(s(min(z1, s(s(z0)))), s(z1), s(s(s(z0))))
COND(s(s(z1)), s(z0), s(s(z1))) → MINUS(s(z0), s(s(s(z1))))
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(y, x, y) → MINUS(x, s(y))
MINUS(x, y) → COND(min(x, y), x, y)
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
minus(x0, x1)
cond(x0, x1, x0)
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
minus(x0, x1)
cond(x0, x1, x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ MNOCProof
COND(y, x, y) → MINUS(x, s(y))
MINUS(x, y) → COND(min(x, y), x, y)
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))
min(0, x0)
min(x0, 0)
min(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ MNOCProof
↳ QDP
COND(y, x, y) → MINUS(x, s(y))
MINUS(x, y) → COND(min(x, y), x, y)
min(0, v) → 0
min(u, 0) → 0
min(s(u), s(v)) → s(min(u, v))